package com.sxfans.thread;

public class MyThreadC implements Runnable{
	String str = "";
	UnsafeSequence s = null;
	
	public MyThreadC(String str,UnsafeSequence s)
	{
		this.str = str;
		this.s = s;
	}
	
	public void run() {
		int num  = s.getNext();
		System.out.println(this.str+"结果:"+num);
		System.out.println(this.str+"结果:"+num);
	}

}
